Define a new sched_op hypercall called sched_op_new, which differs from the
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 14 Mar 2006 18:33:45 +0000 (19:33 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Tue, 14 Mar 2006 18:33:45 +0000 (19:33 +0100)
commitbadff410e406c0efaaac5d50cd6092e3768951f1
tree87df811f1d06f9af245b2ef6a2131721112c70d9
parenta55585779379db13f69f047e7802f6bccf105e95
Define a new sched_op hypercall called sched_op_new, which differs from the
legacy hypercall in that it takes a pointer to a block of extra arguments
rather than an opaque unsigned long. The old hypercall still exists, for
backwards compatibility.

The new hypercall supports new sub-command SCHEDOP_poll, which can be used to
wait on a set of event-channel ports with an optional timeout. This is exported
in XenLinux as HYPERVISOR_poll, and used in the pcifront driver to wait on a
response from the pciback driver.

Can also be used for debuggers. :-)

Signed-off-by: Keir Fraser <keir@xensource.com>
Signed-off-by: John Levon <john.levon@sun.com>
16 files changed:
linux-2.6-xen-sparse/arch/i386/kernel/time-xen.c
linux-2.6-xen-sparse/drivers/xen/pcifront/pci_op.c
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypercall.h
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/hypervisor.h
linux-2.6-xen-sparse/include/asm-ia64/hypercall.h
linux-2.6-xen-sparse/include/asm-ia64/hypervisor.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/entry.S
xen/common/event_channel.c
xen/common/schedule.c
xen/include/public/event_channel.h
xen/include/public/sched.h
xen/include/public/xen.h
xen/include/xen/event.h
xen/include/xen/sched.h